/**
 * Created by Administrator on 2017/2/12.
 */
import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { SecondmainComponent }   from './secondmain.component';
import { ChecknoComponent }      from './checkno/checkno';




const Secondroutes: Routes = [
  {
    path: '',
    component: SecondmainComponent,
    children: [
      {path: '', redirectTo: '/checkno', pathMatch: 'full'},
      {path: 'checkno',     component: ChecknoComponent},
    ]
  }
];

@NgModule({
  imports: [ RouterModule.forChild(Secondroutes) ],
  exports: [ RouterModule ]
})
export class SecondmainRoutingModule {}
